﻿@model FMIS.Models.Club

@{
    ViewBag.Title = "Edit";
}

<h2>Edit</h2>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Club</legend>

        @Html.HiddenFor(model => model.ClubId)

        <div class="editor-label">
            @Html.LabelFor(model => model.ClubName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ClubName)
            @Html.ValidationMessageFor(model => model.ClubName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.StadiumId, "Stadium")
        </div>
        <div class="editor-field">
            @Html.DropDownList("StadiumId", String.Empty)
            @Html.ValidationMessageFor(model => model.StadiumId)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CoachesId)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CoachesId)
            @Html.ValidationMessageFor(model => model.CoachesId)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.AlternativeName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.AlternativeName)
            @Html.ValidationMessageFor(model => model.AlternativeName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Abbreviation)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Abbreviation)
            @Html.ValidationMessageFor(model => model.Abbreviation)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Webpage)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Webpage)
            @Html.ValidationMessageFor(model => model.Webpage)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Association)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Association)
            @Html.ValidationMessageFor(model => model.Association)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Status)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Status)
            @Html.ValidationMessageFor(model => model.Status)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.DateOfEstablishment)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.DateOfEstablishment)
            @Html.ValidationMessageFor(model => model.DateOfEstablishment)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.DateOfEnrollment)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.DateOfEnrollment)
            @Html.ValidationMessageFor(model => model.DateOfEnrollment)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.DateOfResignation)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.DateOfResignation)
            @Html.ValidationMessageFor(model => model.DateOfResignation)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.OpeningHours)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.OpeningHours)
            @Html.ValidationMessageFor(model => model.OpeningHours)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Comment)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Comment)
            @Html.ValidationMessageFor(model => model.Comment)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Country)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Country)
            @Html.ValidationMessageFor(model => model.Country)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Address)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Address)
            @Html.ValidationMessageFor(model => model.Address)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.City)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.City)
            @Html.ValidationMessageFor(model => model.City)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.County)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.County)
            @Html.ValidationMessageFor(model => model.County)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Postcode)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Postcode)
            @Html.ValidationMessageFor(model => model.Postcode)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PublicComment)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PublicComment)
            @Html.ValidationMessageFor(model => model.PublicComment)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.MainNumber)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.MainNumber)
            @Html.ValidationMessageFor(model => model.MainNumber)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Cell)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Cell)
            @Html.ValidationMessageFor(model => model.Cell)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Fax)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Fax)
            @Html.ValidationMessageFor(model => model.Fax)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Email)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Email)
            @Html.ValidationMessageFor(model => model.Email)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ShirtHome)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ShirtHome)
            @Html.ValidationMessageFor(model => model.ShirtHome)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.HomeShirt)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.HomeShirt)
            @Html.ValidationMessageFor(model => model.HomeShirt)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.HomeShorts)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.HomeShorts)
            @Html.ValidationMessageFor(model => model.HomeShorts)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.HomeGoalieshirt)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.HomeGoalieshirt)
            @Html.ValidationMessageFor(model => model.HomeGoalieshirt)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.AwayShirt)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.AwayShirt)
            @Html.ValidationMessageFor(model => model.AwayShirt)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.AwayShorts)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.AwayShorts)
            @Html.ValidationMessageFor(model => model.AwayShorts)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.AwayGoalieshirt)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.AwayGoalieshirt)
            @Html.ValidationMessageFor(model => model.AwayGoalieshirt)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
